<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="/template_clear.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:define name="title">
        <h:outputText value="#{bundle.CreatecurrentTitle}"></h:outputText>
    </ui:define>
    <ui:define name="body">

        <h:form id="form" styleClass="form" >
            <p:focus/>
            <br/>
            <br/>
            <p:commandButton onclick="window.close();" value="Close"/>
            <br/>
            <br/>
             <p:fieldset legend="Upload Genereci">
                <br/>
                <p:fileUpload fileUploadListener="#{projectController.handleAnyFile}"
                              mode="advanced"
                              multiple="true"
                              immediate="false"
                              sizeLimit="300000000"
                              auto="false"
                              uploadLabel="Send"
                              showButtons="true"
                              >
                </p:fileUpload>
            </p:fieldset>
            <p:fieldset legend="Upload Files">
                <br/>
                <p:fileUpload fileUploadListener="#{projectController.handleFileUpload}"
                              mode="advanced"
                              multiple="true"
                              immediate="false"
                              sizeLimit="300000000"
                              auto="false"
                              uploadLabel="Send"
                              showButtons="true"
                              >
                </p:fileUpload>
            </p:fieldset>
        </h:form>
        <br/>
        <br/>
        <h:form id="form2" styleClass="form" >
            <p:fieldset legend="Upload contigs">
                <br/>
                <p:fileUpload fileUploadListener="#{projectController.handleFileUploadContigs}"
                              mode="advanced"
                              multiple="true"
                              immediate="false"
                              sizeLimit="300000000"
                              auto="false"
                              uploadLabel="Send"
                              showButtons="true"
                              >
                </p:fileUpload>
                <br/>
                <p:commandButton action="#{projectController.listUploadedFiles()}" value="Next"/>
                <br/>
            </p:fieldset>
            <br/>
        </h:form>
    </ui:define>
</ui:composition>


